home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / apps.to.go / DTS.Lib / DTS.Lib.headers / AEWFMT.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-10  |  1.1 KB  |  46 lines  |  [TEXT/MPS ]

  1. #ifndef __AEWFMT__
  2. #define __AEWFMT__
  3.  
  4. #ifndef __TYPES__
  5. #include <Types.h>
  6. #endif
  7.  
  8. #ifndef __APPLEEVENTS__
  9. #include <AppleEvents.h>
  10. #endif
  11.  
  12.  
  13.  
  14. void    InitWFMTAppleEvents(void);
  15.     /*
  16.     **    ¶ Install AppsToGo custom AppleEvents for editing running applications.
  17.     **
  18.     **    Install our custom AppleEvents for editing running applications.  This is done in
  19.     **    addition to installing the required AppleEvents.  InitAppleEvents, which installs
  20.     **    the required AppleEvents, must be called first, since it sets up some global
  21.     **    values. */
  22.  
  23.  
  24.  
  25. OSErr    SendWFMTMessage(FileRecHndl frHndl, TreeObjHndl wobj, short messageType,
  26.                         ResType rtype, short resID, Handle *resHndl, StringPtr suffix);
  27.     /*
  28.     **    ¶ Send a message to running application for application-editing functions.
  29.     **
  30.     **    INPUT:    frHndl
  31.     **            wobj
  32.     **            messageType
  33.     **            rtype
  34.     **            resID
  35.     **            suffix
  36.     **    OUTPUT:    resHndl
  37.     **
  38.     **    Send a message to the running application for various application-editing
  39.     **    functions.  This is used by the AppsToGo application editor for editing running
  40.     **    applications. You shouldn’t need to call it unless you are writing a run-time
  41.     **    application editor. */
  42.  
  43.  
  44.  
  45. #endif
  46.